package cn.org.eshow.bean.query;

import java.util.Date;

/**
 * 订单查询对象
 */
public class ProductOrderQuery extends BaseQuery {


    public Date startAddTime;//开始添加时间
    public Date endAddTime;//结束添加时间
    public Date startUpdateTime;//开始添加时间
    public Date endUpdateTime;//结束添加时间
    public String category;// 分类
    public String no;// 订单号
    public Double minPrice;// 最小总计价格
    public Double maxPrice;// 最大总计价格
    public Integer payment;//付款方式（0支付宝支付，1微信支付）
    public Integer state;//订单状态（ -1已取消  0付款状态  , 1配送状态 , 2完成状态（评价）  3 退款状态   ）
    public String states;//订单状态（ -1已取消  0付款状态  , 1配送状态 , 2完成状态（评价）  3 退款状态   ）
    public String statements;//状态说明
    public Integer payState;//支付状态  (0待支付   1已支付)
    public Integer deliveryState;//配送状态 0待接单   1待配送/待收货，2已收货
    public Integer commentState;//评价状态（0未评价，1已评价）
    public Integer refundState;// 退款状态   0无退款，1已退款，2退款中（回调用）
    public String callback;// 支付回调
    public Boolean enabled;// 是否可用
    public String province;// 省份
    public String city;// 城市
    public String district;// 区县
    public Integer userCouponId;// 优惠券ID
    public Integer userId;//用户ID

    public ProductOrderQuery() {
        super();
    }

    public ProductOrderQuery(Boolean enabled) {
        this.enabled = enabled;
    }

    public ProductOrderQuery(Integer userId, Integer state) {
        this.enabled = true;
        this.userId = userId;
        this.state = state;
    }

    public Date getStartAddTime() {
        return startAddTime;
    }

    public void setStartAddTime(Date startAddTime) {
        this.startAddTime = startAddTime;
    }

    public Date getEndAddTime() {
        return endAddTime;
    }

    public void setEndAddTime(Date endAddTime) {
        this.endAddTime = endAddTime;
    }

    public Date getStartUpdateTime() {
        return startUpdateTime;
    }

    public void setStartUpdateTime(Date startUpdateTime) {
        this.startUpdateTime = startUpdateTime;
    }

    public Date getEndUpdateTime() {
        return endUpdateTime;
    }

    public void setEndUpdateTime(Date endUpdateTime) {
        this.endUpdateTime = endUpdateTime;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public Double getMinPrice() {
        return minPrice;
    }

    public void setMinPrice(Double minPrice) {
        this.minPrice = minPrice;
    }

    public Double getMaxPrice() {
        return maxPrice;
    }

    public void setMaxPrice(Double maxPrice) {
        this.maxPrice = maxPrice;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getStatements() {
        return statements;
    }

    public void setStatements(String statements) {
        this.statements = statements;
    }

    public Integer getCommentState() {
        return commentState;
    }

    public void setCommentState(Integer commentState) {
        this.commentState = commentState;
    }

    public Integer getRefundState() {
        return refundState;
    }

    public void setRefundState(Integer refundState) {
        this.refundState = refundState;
    }

    public Integer getDeliveryState() {
        return deliveryState;
    }

    public void setDeliveryState(Integer deliveryState) {
        this.deliveryState = deliveryState;
    }

    public String getCallback() {
        return callback;
    }

    public void setCallback(String callback) {
        this.callback = callback;
    }

    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public Integer getUserCouponId() {
        return userCouponId;
    }

    public void setUserCouponId(Integer userCouponId) {
        this.userCouponId = userCouponId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getPayment() {
        return payment;
    }

    public void setPayment(Integer payment) {
        this.payment = payment;
    }

    public Integer getPayState() {
        return payState;
    }

    public void setPayState(Integer payState) {
        this.payState = payState;
    }

    public String getStates() {
        return states;
    }

    public void setStates(String states) {
        this.states = states;
    }
}